<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.List" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>demo01 </title>
</head>
<body>

<h1>hello h1</h1>
<!-- 小脚本结构：用来编写Java代码-->
<%
       List<String> list = new ArrayList<>();
        int a = 10;
        int b = 20;
%>

<!-- 脚本表达式：网页中输出 -->
<%= a+ b %>

<%@ include file="footer.jsp"%>

</body>
</html>
